package com.distribute.portal.dao;

import java.util.Set;

import redis.clients.jedis.Tuple;

public interface JedisClient {

	String get(String key);
	String set(String key, String value);
	String hget(String hkey, String key);
	long hset(String hkey, String key, String value);
	long incr(String key);
	long expire(String key, int second);
	long ttl(String key);
	long del(String key);
	long hdel(String hkey, String key);
	public Long zadd(String key,double score, String member);
	public Double zincrby(String key, double score,  String member);
	public Set<String> zrange(String key, long start,long end);
	public Set<String> zrevrange(String key,long start, long end);
	public Set<Tuple> zrangeWithScores(String key,long start,long end);
	public Set<Tuple> zrevrangeWithScores(String key, long start,long end);
           
            
            
            
            
           
            
          
           
	
}
